<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>XWPFParagraph (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XWPFParagraph (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XWPFParagraph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFNumbering.html" title="class in org.apache.poi.xwpf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFPicture.html" title="class in org.apache.poi.xwpf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xwpf/usermodel/XWPFParagraph.html" target="_top">FRAMES</a></li>
<li><a href="XWPFParagraph.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.xwpf.usermodel</p>
<h2 title="Class XWPFParagraph" class="title">Class XWPFParagraph</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.poi.xwpf.usermodel.XWPFParagraph</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a>, <a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html" title="interface in org.apache.poi.xwpf.usermodel">IRunBody</a>, <a href="../../../../../org/apache/poi/xwpf/usermodel/ISDTContents.html" title="interface in org.apache.poi.xwpf.usermodel">ISDTContents</a></dd>
</dl>
<hr>
<br>
<pre>public class <strong>XWPFParagraph</strong>
extends java.lang.Object
implements <a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a>, <a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html" title="interface in org.apache.poi.xwpf.usermodel">IRunBody</a>, <a href="../../../../../org/apache/poi/xwpf/usermodel/ISDTContents.html" title="interface in org.apache.poi.xwpf.usermodel">ISDTContents</a></pre>
<div class="block"><p>A Paragraph within a Document, Table, Header etc.</p> 
 
 <p>A paragraph has a lot of styling information, but the
  actual text (possibly along with more styling) is held on
  the child <a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel"><code>XWPFRun</code></a>s.</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html" title="class in org.apache.poi.xwpf.usermodel">XWPFDocument</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#document">document</a></strong></code>
<div class="block">For access to the document's hyperlink, comments, tables etc</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/IRunElement.html" title="interface in org.apache.poi.xwpf.usermodel">IRunElement</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#iruns">iruns</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#part">part</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#runs">runs</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#XWPFParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP, org.apache.poi.xwpf.usermodel.IBody)">XWPFParagraph</a></strong>(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP&nbsp;prgrph,
             <a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a>&nbsp;part)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#addRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR)">addRun</a></strong>(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR&nbsp;run)</code>
<div class="block">add a new run at the end of the position of 
 the content of parameter run</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#addRun(org.apache.poi.xwpf.usermodel.XWPFRun)">addRun</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&nbsp;r)</code>
<div class="block">adds a new Run to the Paragraph</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#createRun()">createRun</a></strong>()</code>
<div class="block">Appends a new run to this paragraph</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/ParagraphAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">ParagraphAlignment</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getAlignment()">getAlignment</a></strong>()</code>
<div class="block">Returns the paragraph alignment which shall be applied to text in this
 paragraph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBody()">getBody</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBorderBetween()">getBorderBetween</a></strong>()</code>
<div class="block">Specifies the border which shall be displayed between each paragraph in a
 set of paragraphs which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBorderBottom()">getBorderBottom</a></strong>()</code>
<div class="block">Specifies the border which shall be displayed below a set of
 paragraphs which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBorderLeft()">getBorderLeft</a></strong>()</code>
<div class="block">Specifies the border which shall be displayed on the left side of the
 page around the specified paragraph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBorderRight()">getBorderRight</a></strong>()</code>
<div class="block">Specifies the border which shall be displayed on the right side of the
 page around the specified paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getBorderTop()">getBorderTop</a></strong>()</code>
<div class="block">Specifies the border which shall be displayed above a set of paragraphs
 which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getCTP()">getCTP</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html" title="class in org.apache.poi.xwpf.usermodel">XWPFDocument</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getDocument()">getDocument</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/BodyElementType.html" title="enum in org.apache.poi.xwpf.usermodel">BodyElementType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getElementType()">getElementType</a></strong>()</code>
<div class="block">returns the type of the BodyElement Paragraph</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getFootnoteText()">getFootnoteText</a></strong>()</code>
<div class="block">Returns the footnote text of the paragraph</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getIndentationFirstLine()">getIndentationFirstLine</a></strong>()</code>
<div class="block">Specifies the additional indentation which shall be applied to the first
 line of the parent paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getIndentationHanging()">getIndentationHanging</a></strong>()</code>
<div class="block">Specifies the indentation which shall be removed from the first line of
 the parent paragraph, by moving the indentation on the first line back
 towards the beginning of the direction of text flow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getIndentationLeft()">getIndentationLeft</a></strong>()</code>
<div class="block">Specifies the indentation which shall be placed between the left text
 margin for this paragraph and the left edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getIndentationRight()">getIndentationRight</a></strong>()</code>
<div class="block">Specifies the indentation which shall be placed between the right text
 margin for this paragraph and the right edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/IRunElement.html" title="interface in org.apache.poi.xwpf.usermodel">IRunElement</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getIRuns()">getIRuns</a></strong>()</code>
<div class="block">Return literal runs and sdt/content control objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getNumFmt()">getNumFmt</a></strong>()</code>
<div class="block">Returns numbering format for this paragraph, eg bullet or
  lowerLetter.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.math.BigInteger</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getNumID()">getNumID</a></strong>()</code>
<div class="block">If style exist for this paragraph
 NumId of the paragraph will be returned.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.math.BigInteger</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getNumIlvl()">getNumIlvl</a></strong>()</code>
<div class="block">Returns Ilvl of the numeric style for this paragraph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getParagraphText()">getParagraphText</a></strong>()</code>
<div class="block">Returns the text of the paragraph, but not of any objects in the
 paragraph</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getPart()">getPart</a></strong>()</code>
<div class="block">returns the part of the bodyElement</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/BodyType.html" title="enum in org.apache.poi.xwpf.usermodel">BodyType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getPartType()">getPartType</a></strong>()</code>
<div class="block">returns the partType of the bodyPart which owns the bodyElement</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getPictureText()">getPictureText</a></strong>()</code>
<div class="block">Returns any text from any suitable pictures in the paragraph</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR)">getRun</a></strong>(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR&nbsp;r)</code>
<div class="block">return the XWPFRun-Element which owns the CTR run-Element</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getRuns()">getRuns</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getSpacingAfter()">getSpacingAfter</a></strong>()</code>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getSpacingAfterLines()">getSpacingAfterLines</a></strong>()</code>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getSpacingBefore()">getSpacingBefore</a></strong>()</code>
<div class="block">Specifies the spacing that should be added above the first line in this
 paragraph in the document in absolute units.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getSpacingBeforeLines()">getSpacingBeforeLines</a></strong>()</code>
<div class="block">Specifies the spacing that should be added before the first line in this paragraph in the
 document in line units.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel">LineSpacingRule</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getSpacingLineRule()">getSpacingLineRule</a></strong>()</code>
<div class="block">Specifies how the spacing between lines is calculated as stored in the
 line attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getStyle()">getStyle</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getStyleID()">getStyleID</a></strong>()</code>
<div class="block">Return styleID of the paragraph if style exist for this paragraph
 if not, null will be returned</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getText()">getText</a></strong>()</code>
<div class="block">Return the textual content of the paragraph, including text from pictures
 and sdt elements in it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getText(org.apache.poi.xwpf.usermodel.TextSegement)">getText</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/TextSegement.html" title="class in org.apache.poi.xwpf.usermodel">TextSegement</a>&nbsp;segment)</code>
<div class="block">get a Text</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/TextAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">TextAlignment</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#getVerticalAlignment()">getVerticalAlignment</a></strong>()</code>
<div class="block">Returns the text vertical alignment which shall be applied to text in
 this paragraph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#insertNewRun(int)">insertNewRun</a></strong>(int&nbsp;pos)</code>
<div class="block">insert a new Run in RunArray</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#isEmpty()">isEmpty</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#isPageBreak()">isPageBreak</a></strong>()</code>
<div class="block">Specifies that when rendering this document in a paginated
 view, the contents of this paragraph are rendered on the start of a new
 page in the document.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#isWordWrap()">isWordWrap</a></strong>()</code>
<div class="block">This element specifies whether a consumer shall break Latin text which
 exceeds the text extents of a line by breaking the word across two lines
 (breaking on the character level) or by moving the word to the following
 line (breaking on the word level).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#removeRun(int)">removeRun</a></strong>(int&nbsp;pos)</code>
<div class="block">removes a Run at the position pos in the paragraph</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xwpf/usermodel/TextSegement.html" title="class in org.apache.poi.xwpf.usermodel">TextSegement</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#searchText(java.lang.String, org.apache.poi.xwpf.usermodel.PositionInParagraph)">searchText</a></strong>(java.lang.String&nbsp;searched,
          <a href="../../../../../org/apache/poi/xwpf/usermodel/PositionInParagraph.html" title="class in org.apache.poi.xwpf.usermodel">PositionInParagraph</a>&nbsp;startPos)</code>
<div class="block">this methods parse the paragraph and search for the string searched.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setAlignment(org.apache.poi.xwpf.usermodel.ParagraphAlignment)">setAlignment</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/ParagraphAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">ParagraphAlignment</a>&nbsp;align)</code>
<div class="block">Specifies the paragraph alignment which shall be applied to text in this
 paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderBetween(org.apache.poi.xwpf.usermodel.Borders)">setBorderBetween</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</code>
<div class="block">Specifies the border which shall be displayed between each paragraph in a
 set of paragraphs which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderBottom(org.apache.poi.xwpf.usermodel.Borders)">setBorderBottom</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</code>
<div class="block">Specifies the border which shall be displayed below a set of paragraphs
 which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderLeft(org.apache.poi.xwpf.usermodel.Borders)">setBorderLeft</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</code>
<div class="block">Specifies the border which shall be displayed on the left side of the
 page around the specified paragraph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderRight(org.apache.poi.xwpf.usermodel.Borders)">setBorderRight</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</code>
<div class="block">Specifies the border which shall be displayed on the right side of the
 page around the specified paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderTop(org.apache.poi.xwpf.usermodel.Borders)">setBorderTop</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</code>
<div class="block">Specifies the border which shall be displayed above a set of paragraphs
 which have the same set of paragraph border settings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setIndentationFirstLine(int)">setIndentationFirstLine</a></strong>(int&nbsp;indentation)</code>
<div class="block">Specifies the additional indentation which shall be applied to the first
 line of the parent paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setIndentationHanging(int)">setIndentationHanging</a></strong>(int&nbsp;indentation)</code>
<div class="block">Specifies the indentation which shall be removed from the first line of
 the parent paragraph, by moving the indentation on the first line back
 towards the beginning of the direction of text flow.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setIndentationLeft(int)">setIndentationLeft</a></strong>(int&nbsp;indentation)</code>
<div class="block">Specifies the indentation which shall be placed between the left text
 margin for this paragraph and the left edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setIndentationRight(int)">setIndentationRight</a></strong>(int&nbsp;indentation)</code>
<div class="block">Specifies the indentation which shall be placed between the right text
 margin for this paragraph and the right edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setNumID(java.math.BigInteger)">setNumID</a></strong>(java.math.BigInteger&nbsp;numPos)</code>
<div class="block">setNumID of Paragraph</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setPageBreak(boolean)">setPageBreak</a></strong>(boolean&nbsp;pageBreak)</code>
<div class="block">Specifies that when rendering this document in a paginated
 view, the contents of this paragraph are rendered on the start of a new
 page in the document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingAfter(int)">setSpacingAfter</a></strong>(int&nbsp;spaces)</code>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingAfterLines(int)">setSpacingAfterLines</a></strong>(int&nbsp;spaces)</code>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in line units.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingBefore(int)">setSpacingBefore</a></strong>(int&nbsp;spaces)</code>
<div class="block">Specifies the spacing that should be added above the first line in this
 paragraph in the document in absolute units.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingBeforeLines(int)">setSpacingBeforeLines</a></strong>(int&nbsp;spaces)</code>
<div class="block">Specifies the spacing that should be added before the first line in this
 paragraph in the document in line units.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingLineRule(org.apache.poi.xwpf.usermodel.LineSpacingRule)">setSpacingLineRule</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel">LineSpacingRule</a>&nbsp;rule)</code>
<div class="block">Specifies how the spacing between lines is calculated as stored in the
 line attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setStyle(java.lang.String)">setStyle</a></strong>(java.lang.String&nbsp;newStyle)</code>
<div class="block">This method provides a style to the paragraph
 This is useful when, e.g.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setVerticalAlignment(org.apache.poi.xwpf.usermodel.TextAlignment)">setVerticalAlignment</a></strong>(<a href="../../../../../org/apache/poi/xwpf/usermodel/TextAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">TextAlignment</a>&nbsp;valign)</code>
<div class="block">Specifies the text vertical alignment which shall be applied to text in
 this paragraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setWordWrap(boolean)">setWordWrap</a></strong>(boolean&nbsp;wrap)</code>
<div class="block">This element specifies whether a consumer shall break Latin text which
 exceeds the text extents of a line by breaking the word across two lines
 (breaking on the character level) or by moving the word to the following
 line (breaking on the word level).</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="part">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>part</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a> part</pre>
</li>
</ul>
<a name="document">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>document</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html" title="class in org.apache.poi.xwpf.usermodel">XWPFDocument</a> document</pre>
<div class="block">For access to the document's hyperlink, comments, tables etc</div>
</li>
</ul>
<a name="runs">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runs</h4>
<pre>protected&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&gt; runs</pre>
</li>
</ul>
<a name="iruns">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>iruns</h4>
<pre>protected&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/IRunElement.html" title="interface in org.apache.poi.xwpf.usermodel">IRunElement</a>&gt; iruns</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="XWPFParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP, org.apache.poi.xwpf.usermodel.IBody)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XWPFParagraph</h4>
<pre>public&nbsp;XWPFParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP&nbsp;prgrph,
             <a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a>&nbsp;part)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getCTP()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCTP</h4>
<pre><a href="../../../../../org/apache/poi/util/Internal.html" title="annotation in org.apache.poi.util">@Internal</a>
public&nbsp;org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP&nbsp;getCTP()</pre>
</li>
</ul>
<a name="getRuns()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRuns</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&gt;&nbsp;getRuns()</pre>
</li>
</ul>
<a name="getIRuns()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIRuns</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xwpf/usermodel/IRunElement.html" title="interface in org.apache.poi.xwpf.usermodel">IRunElement</a>&gt;&nbsp;getIRuns()</pre>
<div class="block">Return literal runs and sdt/content control objects.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>List<IRunElement></dd></dl>
</li>
</ul>
<a name="isEmpty()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public&nbsp;boolean&nbsp;isEmpty()</pre>
</li>
</ul>
<a name="getDocument()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDocument</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFDocument.html" title="class in org.apache.poi.xwpf.usermodel">XWPFDocument</a>&nbsp;getDocument()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html#getDocument()">getDocument</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html" title="interface in org.apache.poi.xwpf.usermodel">IRunBody</a></code></dd>
</dl>
</li>
</ul>
<a name="getText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getText()</pre>
<div class="block">Return the textual content of the paragraph, including text from pictures
 and sdt elements in it.</div>
</li>
</ul>
<a name="getStyleID()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyleID</h4>
<pre>public&nbsp;java.lang.String&nbsp;getStyleID()</pre>
<div class="block">Return styleID of the paragraph if style exist for this paragraph
 if not, null will be returned</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>styleID as String</dd></dl>
</li>
</ul>
<a name="getNumID()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumID</h4>
<pre>public&nbsp;java.math.BigInteger&nbsp;getNumID()</pre>
<div class="block">If style exist for this paragraph
 NumId of the paragraph will be returned.
 If style not exist null will be returned</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>NumID as BigInteger</dd></dl>
</li>
</ul>
<a name="getNumIlvl()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumIlvl</h4>
<pre>public&nbsp;java.math.BigInteger&nbsp;getNumIlvl()</pre>
<div class="block">Returns Ilvl of the numeric style for this paragraph.
 Returns null if this paragraph does not have numeric style.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Ilvl as BigInteger</dd></dl>
</li>
</ul>
<a name="getNumFmt()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumFmt</h4>
<pre>public&nbsp;java.lang.String&nbsp;getNumFmt()</pre>
<div class="block">Returns numbering format for this paragraph, eg bullet or
  lowerLetter.
 Returns null if this paragraph does not have numeric style.</div>
</li>
</ul>
<a name="setNumID(java.math.BigInteger)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNumID</h4>
<pre>public&nbsp;void&nbsp;setNumID(java.math.BigInteger&nbsp;numPos)</pre>
<div class="block">setNumID of Paragraph</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>numPos</code> - </dd></dl>
</li>
</ul>
<a name="getParagraphText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParagraphText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getParagraphText()</pre>
<div class="block">Returns the text of the paragraph, but not of any objects in the
 paragraph</div>
</li>
</ul>
<a name="getPictureText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPictureText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getPictureText()</pre>
<div class="block">Returns any text from any suitable pictures in the paragraph</div>
</li>
</ul>
<a name="getFootnoteText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFootnoteText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getFootnoteText()</pre>
<div class="block">Returns the footnote text of the paragraph</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the footnote text or empty string if the paragraph does not have footnotes</dd></dl>
</li>
</ul>
<a name="getAlignment()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAlignment</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/ParagraphAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">ParagraphAlignment</a>&nbsp;getAlignment()</pre>
<div class="block">Returns the paragraph alignment which shall be applied to text in this
 paragraph.
 <p/>
 <p/>
 If this element is not set on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no alignment is applied to the
 paragraph.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the paragraph alignment of this paragraph.</dd></dl>
</li>
</ul>
<a name="setAlignment(org.apache.poi.xwpf.usermodel.ParagraphAlignment)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlignment</h4>
<pre>public&nbsp;void&nbsp;setAlignment(<a href="../../../../../org/apache/poi/xwpf/usermodel/ParagraphAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">ParagraphAlignment</a>&nbsp;align)</pre>
<div class="block">Specifies the paragraph alignment which shall be applied to text in this
 paragraph.
 <p/>
 <p/>
 If this element is not set on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no alignment is applied to the
 paragraph.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>align</code> - the paragraph alignment to apply to this paragraph.</dd></dl>
</li>
</ul>
<a name="getVerticalAlignment()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerticalAlignment</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/TextAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">TextAlignment</a>&nbsp;getVerticalAlignment()</pre>
<div class="block">Returns the text vertical alignment which shall be applied to text in
 this paragraph.
 <p/>
 If the line height (before any added spacing) is larger than one or more
 characters on the line, all characters will be aligned to each other as
 specified by this element.
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then the vertical alignment of all
 characters on the line shall be automatically determined by the consumer.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the vertical alignment of this paragraph.</dd></dl>
</li>
</ul>
<a name="setVerticalAlignment(org.apache.poi.xwpf.usermodel.TextAlignment)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVerticalAlignment</h4>
<pre>public&nbsp;void&nbsp;setVerticalAlignment(<a href="../../../../../org/apache/poi/xwpf/usermodel/TextAlignment.html" title="enum in org.apache.poi.xwpf.usermodel">TextAlignment</a>&nbsp;valign)</pre>
<div class="block">Specifies the text vertical alignment which shall be applied to text in
 this paragraph.
 <p/>
 If the line height (before any added spacing) is larger than one or more
 characters on the line, all characters will be aligned to each other as
 specified by this element.
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then the vertical alignment of all
 characters on the line shall be automatically determined by the consumer.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valign</code> - the paragraph vertical alignment to apply to this
               paragraph.</dd></dl>
</li>
</ul>
<a name="setBorderTop(org.apache.poi.xwpf.usermodel.Borders)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorderTop</h4>
<pre>public&nbsp;void&nbsp;setBorderTop(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</pre>
<div class="block">Specifies the border which shall be displayed above a set of paragraphs
 which have the same set of paragraph border settings.
 <p/>
 <p/>
 To determine if any two adjoining paragraphs shall have an individual top
 and bottom border or a between border, the set of borders on the two
 adjoining paragraphs are compared. If the border information on those two
 paragraphs is identical for all possible paragraphs borders, then the
 between border is displayed. Otherwise, the final paragraph shall use its
 bottom border and the following paragraph shall use its top border,
 respectively. If this border specifies a space attribute, that value
 determines the space above the text (ignoring any spacing above) which
 should be left before this border is drawn, specified in points.
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no between border shall be applied
 above identical paragraphs.
 </p>
 <b>This border can only be a line border.</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>border</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all types of borders</code></a></dd></dl>
</li>
</ul>
<a name="getBorderTop()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderTop</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;getBorderTop()</pre>
<div class="block">Specifies the border which shall be displayed above a set of paragraphs
 which have the same set of paragraph border settings.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>paragraphBorder - the top border for the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderTop(org.apache.poi.xwpf.usermodel.Borders)"><code>setBorderTop(Borders)</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>a list of all types of borders</code></a></dd></dl>
</li>
</ul>
<a name="setBorderBottom(org.apache.poi.xwpf.usermodel.Borders)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorderBottom</h4>
<pre>public&nbsp;void&nbsp;setBorderBottom(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</pre>
<div class="block">Specifies the border which shall be displayed below a set of paragraphs
 which have the same set of paragraph border settings.
 <p/>
 To determine if any two adjoining paragraphs shall have an individual top
 and bottom border or a between border, the set of borders on the two
 adjoining paragraphs are compared. If the border information on those two
 paragraphs is identical for all possible paragraphs borders, then the
 between border is displayed. Otherwise, the final paragraph shall use its
 bottom border and the following paragraph shall use its top border,
 respectively. If this border specifies a space attribute, that value
 determines the space after the bottom of the text (ignoring any space
 below) which should be left before this border is drawn, specified in
 points.
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no between border shall be applied
 below identical paragraphs.
 </p>
 <b>This border can only be a line border.</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>border</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>a list of all types of borders</code></a></dd></dl>
</li>
</ul>
<a name="getBorderBottom()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderBottom</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;getBorderBottom()</pre>
<div class="block">Specifies the border which shall be displayed below a set of
 paragraphs which have the same set of paragraph border settings.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>paragraphBorder - the bottom border for the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderBottom(org.apache.poi.xwpf.usermodel.Borders)"><code>setBorderBottom(Borders)</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>a list of all types of borders</code></a></dd></dl>
</li>
</ul>
<a name="setBorderLeft(org.apache.poi.xwpf.usermodel.Borders)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorderLeft</h4>
<pre>public&nbsp;void&nbsp;setBorderLeft(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</pre>
<div class="block">Specifies the border which shall be displayed on the left side of the
 page around the specified paragraph.
 <p/>
 To determine if any two adjoining paragraphs should have a left border
 which spans the full line height or not, the left border shall be drawn
 between the top border or between border at the top (whichever would be
 rendered for the current paragraph), and the bottom border or between
 border at the bottom (whichever would be rendered for the current
 paragraph).
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no left border shall be applied.
 </p>
 <b>This border can only be a line border.</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>border</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="getBorderLeft()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderLeft</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;getBorderLeft()</pre>
<div class="block">Specifies the border which shall be displayed on the left side of the
 page around the specified paragraph.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>ParagraphBorder - the left border for the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderLeft(org.apache.poi.xwpf.usermodel.Borders)"><code>setBorderLeft(Borders)</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="setBorderRight(org.apache.poi.xwpf.usermodel.Borders)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorderRight</h4>
<pre>public&nbsp;void&nbsp;setBorderRight(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</pre>
<div class="block">Specifies the border which shall be displayed on the right side of the
 page around the specified paragraph.
 <p/>
 To determine if any two adjoining paragraphs should have a right border
 which spans the full line height or not, the right border shall be drawn
 between the top border or between border at the top (whichever would be
 rendered for the current paragraph), and the bottom border or between
 border at the bottom (whichever would be rendered for the current
 paragraph).
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no right border shall be applied.
 </p>
 <b>This border can only be a line border.</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>border</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="getBorderRight()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderRight</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;getBorderRight()</pre>
<div class="block">Specifies the border which shall be displayed on the right side of the
 page around the specified paragraph.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>ParagraphBorder - the right border for the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderRight(org.apache.poi.xwpf.usermodel.Borders)"><code>setBorderRight(Borders)</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="setBorderBetween(org.apache.poi.xwpf.usermodel.Borders)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorderBetween</h4>
<pre>public&nbsp;void&nbsp;setBorderBetween(<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;border)</pre>
<div class="block">Specifies the border which shall be displayed between each paragraph in a
 set of paragraphs which have the same set of paragraph border settings.
 <p/>
 To determine if any two adjoining paragraphs should have a between border
 or an individual top and bottom border, the set of borders on the two
 adjoining paragraphs are compared. If the border information on those two
 paragraphs is identical for all possible paragraphs borders, then the
 between border is displayed. Otherwise, each paragraph shall use its
 bottom and top border, respectively. If this border specifies a space
 attribute, that value is ignored - this border is always located at the
 bottom of each paragraph with an identical following paragraph, taking
 into account any space after the line pitch.
 </p>
 <p/>
 If this element is omitted on a given paragraph, its value is determined
 by the setting previously set at any level of the style hierarchy (i.e.
 that previous setting remains unchanged). If this setting is never
 specified in the style hierarchy, then no between border shall be applied
 between identical paragraphs.
 </p>
 <b>This border can only be a line border.</b></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>border</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="getBorderBetween()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderBetween</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel">Borders</a>&nbsp;getBorderBetween()</pre>
<div class="block">Specifies the border which shall be displayed between each paragraph in a
 set of paragraphs which have the same set of paragraph border settings.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>ParagraphBorder - the between border for the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setBorderBetween(org.apache.poi.xwpf.usermodel.Borders)"><code>setBorderBetween(Borders)</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/Borders.html" title="enum in org.apache.poi.xwpf.usermodel"><code>for a list of all possible borders</code></a></dd></dl>
</li>
</ul>
<a name="setPageBreak(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPageBreak</h4>
<pre>public&nbsp;void&nbsp;setPageBreak(boolean&nbsp;pageBreak)</pre>
<div class="block">Specifies that when rendering this document in a paginated
 view, the contents of this paragraph are rendered on the start of a new
 page in the document.
 <p/>
 If this element is omitted on a given paragraph,
 its value is determined by the setting previously set at any level of the
 style hierarchy (i.e. that previous setting remains unchanged). If this
 setting is never specified in the style hierarchy, then this property
 shall not be applied. Since the paragraph is specified to start on a new
 page, it begins page two even though it could have fit on page one.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pageBreak</code> - -
                  boolean value</dd></dl>
</li>
</ul>
<a name="isPageBreak()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPageBreak</h4>
<pre>public&nbsp;boolean&nbsp;isPageBreak()</pre>
<div class="block">Specifies that when rendering this document in a paginated
 view, the contents of this paragraph are rendered on the start of a new
 page in the document.
 <p/>
 If this element is omitted on a given paragraph,
 its value is determined by the setting previously set at any level of the
 style hierarchy (i.e. that previous setting remains unchanged). If this
 setting is never specified in the style hierarchy, then this property
 shall not be applied. Since the paragraph is specified to start on a new
 page, it begins page two even though it could have fit on page one.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean - if page break is set</dd></dl>
</li>
</ul>
<a name="setSpacingAfter(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacingAfter</h4>
<pre>public&nbsp;void&nbsp;setSpacingAfter(int&nbsp;spaces)</pre>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.
 <p/>
 If the afterLines attribute or the afterAutoSpacing attribute is also
 specified, then this attribute value is ignored.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spaces</code> - -
               a positive whole number, whose contents consist of a
               measurement in twentieths of a point.</dd></dl>
</li>
</ul>
<a name="getSpacingAfter()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacingAfter</h4>
<pre>public&nbsp;int&nbsp;getSpacingAfter()</pre>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>int - value representing the spacing after the paragraph</dd></dl>
</li>
</ul>
<a name="setSpacingAfterLines(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacingAfterLines</h4>
<pre>public&nbsp;void&nbsp;setSpacingAfterLines(int&nbsp;spaces)</pre>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in line units.
 <b>The value of this attribute is
 specified in one hundredths of a line.
 </b>
 <p/>
 If the afterAutoSpacing attribute
 is also specified, then this attribute value is ignored. If this setting
 is never specified in the style hierarchy, then its value shall be zero
 (if needed)
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spaces</code> - -
               a positive whole number, whose contents consist of a
               measurement in twentieths of a</dd></dl>
</li>
</ul>
<a name="getSpacingAfterLines()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacingAfterLines</h4>
<pre>public&nbsp;int&nbsp;getSpacingAfterLines()</pre>
<div class="block">Specifies the spacing that should be added after the last line in this
 paragraph in the document in absolute units.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>bigInteger - value representing the spacing after the paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingAfterLines(int)"><code>setSpacingAfterLines(int)</code></a></dd></dl>
</li>
</ul>
<a name="setSpacingBefore(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacingBefore</h4>
<pre>public&nbsp;void&nbsp;setSpacingBefore(int&nbsp;spaces)</pre>
<div class="block">Specifies the spacing that should be added above the first line in this
 paragraph in the document in absolute units.
 <p/>
 If the beforeLines attribute or the beforeAutoSpacing attribute is also
 specified, then this attribute value is ignored.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spaces</code> - </dd></dl>
</li>
</ul>
<a name="getSpacingBefore()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacingBefore</h4>
<pre>public&nbsp;int&nbsp;getSpacingBefore()</pre>
<div class="block">Specifies the spacing that should be added above the first line in this
 paragraph in the document in absolute units.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the spacing that should be added above the first line</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingBefore(int)"><code>setSpacingBefore(int)</code></a></dd></dl>
</li>
</ul>
<a name="setSpacingBeforeLines(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacingBeforeLines</h4>
<pre>public&nbsp;void&nbsp;setSpacingBeforeLines(int&nbsp;spaces)</pre>
<div class="block">Specifies the spacing that should be added before the first line in this
 paragraph in the document in line units. <b> The value of this attribute
 is specified in one hundredths of a line. </b>
 <p/>
 If the beforeAutoSpacing attribute is also specified, then this attribute
 value is ignored. If this setting is never specified in the style
 hierarchy, then its value shall be zero.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spaces</code> - </dd></dl>
</li>
</ul>
<a name="getSpacingBeforeLines()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacingBeforeLines</h4>
<pre>public&nbsp;int&nbsp;getSpacingBeforeLines()</pre>
<div class="block">Specifies the spacing that should be added before the first line in this paragraph in the
 document in line units.
 The value of this attribute is specified in one hundredths of a line.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the spacing that should be added before the first line in this paragraph</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingBeforeLines(int)"><code>setSpacingBeforeLines(int)</code></a></dd></dl>
</li>
</ul>
<a name="setSpacingLineRule(org.apache.poi.xwpf.usermodel.LineSpacingRule)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacingLineRule</h4>
<pre>public&nbsp;void&nbsp;setSpacingLineRule(<a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel">LineSpacingRule</a>&nbsp;rule)</pre>
<div class="block">Specifies how the spacing between lines is calculated as stored in the
 line attribute. If this attribute is omitted, then it shall be assumed to
 be of a value auto if a line attribute value is present.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rule</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel"><code>LineSpacingRule</code></a></dd></dl>
</li>
</ul>
<a name="getSpacingLineRule()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacingLineRule</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel">LineSpacingRule</a>&nbsp;getSpacingLineRule()</pre>
<div class="block">Specifies how the spacing between lines is calculated as stored in the
 line attribute. If this attribute is omitted, then it shall be assumed to
 be of a value auto if a line attribute value is present.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>rule</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/LineSpacingRule.html" title="enum in org.apache.poi.xwpf.usermodel"><code>LineSpacingRule</code></a>, 
<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFParagraph.html#setSpacingLineRule(org.apache.poi.xwpf.usermodel.LineSpacingRule)"><code>setSpacingLineRule(LineSpacingRule)</code></a></dd></dl>
</li>
</ul>
<a name="setIndentationLeft(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndentationLeft</h4>
<pre>public&nbsp;void&nbsp;setIndentationLeft(int&nbsp;indentation)</pre>
<div class="block">Specifies the indentation which shall be placed between the left text
 margin for this paragraph and the left edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.
 Negative values are defined such that the text is moved past the text margin,
 positive values move the text inside the text margin.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indentation</code> - </dd></dl>
</li>
</ul>
<a name="getIndentationLeft()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndentationLeft</h4>
<pre>public&nbsp;int&nbsp;getIndentationLeft()</pre>
<div class="block">Specifies the indentation which shall be placed between the left text
 margin for this paragraph and the left edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.
 Negative values are defined such that the text is moved past the text margin,
 positive values move the text inside the text margin.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>indentation or null if indentation is not set</dd></dl>
</li>
</ul>
<a name="setIndentationRight(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndentationRight</h4>
<pre>public&nbsp;void&nbsp;setIndentationRight(int&nbsp;indentation)</pre>
<div class="block">Specifies the indentation which shall be placed between the right text
 margin for this paragraph and the right edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.
 Negative values are defined such that the text is moved past the text margin,
 positive values move the text inside the text margin.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indentation</code> - </dd></dl>
</li>
</ul>
<a name="getIndentationRight()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndentationRight</h4>
<pre>public&nbsp;int&nbsp;getIndentationRight()</pre>
<div class="block">Specifies the indentation which shall be placed between the right text
 margin for this paragraph and the right edge of that paragraph's content
 in a left to right paragraph, and the right text margin and the right
 edge of that paragraph's text in a right to left paragraph
 <p/>
 If this attribute is omitted, its value shall be assumed to be zero.
 Negative values are defined such that the text is moved past the text margin,
 positive values move the text inside the text margin.
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>indentation or null if indentation is not set</dd></dl>
</li>
</ul>
<a name="setIndentationHanging(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndentationHanging</h4>
<pre>public&nbsp;void&nbsp;setIndentationHanging(int&nbsp;indentation)</pre>
<div class="block">Specifies the indentation which shall be removed from the first line of
 the parent paragraph, by moving the indentation on the first line back
 towards the beginning of the direction of text flow.
 This indentation is specified relative to the paragraph indentation which is specified for
 all other lines in the parent paragraph.
 <p/>
 The firstLine and hanging attributes are mutually exclusive, if both are specified, then the
 firstLine value is ignored.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indentation</code> - </dd></dl>
</li>
</ul>
<a name="getIndentationHanging()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndentationHanging</h4>
<pre>public&nbsp;int&nbsp;getIndentationHanging()</pre>
<div class="block">Specifies the indentation which shall be removed from the first line of
 the parent paragraph, by moving the indentation on the first line back
 towards the beginning of the direction of text flow.
 This indentation is
 specified relative to the paragraph indentation which is specified for
 all other lines in the parent paragraph.
 The firstLine and hanging
 attributes are mutually exclusive, if both are specified, then the
 firstLine value is ignored.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>indentation or null if indentation is not set</dd></dl>
</li>
</ul>
<a name="setIndentationFirstLine(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndentationFirstLine</h4>
<pre>public&nbsp;void&nbsp;setIndentationFirstLine(int&nbsp;indentation)</pre>
<div class="block">Specifies the additional indentation which shall be applied to the first
 line of the parent paragraph. This additional indentation is specified
 relative to the paragraph indentation which is specified for all other
 lines in the parent paragraph.
 The firstLine and hanging attributes are
 mutually exclusive, if both are specified, then the firstLine value is
 ignored.
 If the firstLineChars attribute is also specified, then this
 value is ignored. If this attribute is omitted, then its value shall be
 assumed to be zero (if needed).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indentation</code> - </dd></dl>
</li>
</ul>
<a name="getIndentationFirstLine()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndentationFirstLine</h4>
<pre>public&nbsp;int&nbsp;getIndentationFirstLine()</pre>
<div class="block">Specifies the additional indentation which shall be applied to the first
 line of the parent paragraph. This additional indentation is specified
 relative to the paragraph indentation which is specified for all other
 lines in the parent paragraph.
 The firstLine and hanging attributes are
 mutually exclusive, if both are specified, then the firstLine value is
 ignored.
 If the firstLineChars attribute is also specified, then this
 value is ignored.
 If this attribute is omitted, then its value shall be
 assumed to be zero (if needed).</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>indentation or null if indentation is not set</dd></dl>
</li>
</ul>
<a name="setWordWrap(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWordWrap</h4>
<pre>public&nbsp;void&nbsp;setWordWrap(boolean&nbsp;wrap)</pre>
<div class="block">This element specifies whether a consumer shall break Latin text which
 exceeds the text extents of a line by breaking the word across two lines
 (breaking on the character level) or by moving the word to the following
 line (breaking on the word level).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrap</code> - - boolean</dd></dl>
</li>
</ul>
<a name="isWordWrap()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWordWrap</h4>
<pre>public&nbsp;boolean&nbsp;isWordWrap()</pre>
<div class="block">This element specifies whether a consumer shall break Latin text which
 exceeds the text extents of a line by breaking the word across two lines
 (breaking on the character level) or by moving the word to the following
 line (breaking on the word level).</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
</li>
</ul>
<a name="setStyle(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStyle</h4>
<pre>public&nbsp;void&nbsp;setStyle(java.lang.String&nbsp;newStyle)</pre>
<div class="block">This method provides a style to the paragraph
 This is useful when, e.g. an Heading style has to be assigned</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newStyle</code> - </dd></dl>
</li>
</ul>
<a name="getStyle()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyle</h4>
<pre>public&nbsp;java.lang.String&nbsp;getStyle()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the style of the paragraph</dd></dl>
</li>
</ul>
<a name="addRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRun</h4>
<pre>protected&nbsp;void&nbsp;addRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR&nbsp;run)</pre>
<div class="block">add a new run at the end of the position of 
 the content of parameter run</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>run</code> - </dd></dl>
</li>
</ul>
<a name="createRun()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRun</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&nbsp;createRun()</pre>
<div class="block">Appends a new run to this paragraph</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a new text run</dd></dl>
</li>
</ul>
<a name="insertNewRun(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertNewRun</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&nbsp;insertNewRun(int&nbsp;pos)</pre>
<div class="block">insert a new Run in RunArray</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>the inserted run</dd></dl>
</li>
</ul>
<a name="searchText(java.lang.String, org.apache.poi.xwpf.usermodel.PositionInParagraph)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>searchText</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/TextSegement.html" title="class in org.apache.poi.xwpf.usermodel">TextSegement</a>&nbsp;searchText(java.lang.String&nbsp;searched,
                      <a href="../../../../../org/apache/poi/xwpf/usermodel/PositionInParagraph.html" title="class in org.apache.poi.xwpf.usermodel">PositionInParagraph</a>&nbsp;startPos)</pre>
<div class="block">this methods parse the paragraph and search for the string searched.
 If it finds the string, it will return true and the position of the String
 will be saved in the parameter startPos.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>searched</code> - </dd><dd><code>startPos</code> - </dd></dl>
</li>
</ul>
<a name="getText(org.apache.poi.xwpf.usermodel.TextSegement)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getText(<a href="../../../../../org/apache/poi/xwpf/usermodel/TextSegement.html" title="class in org.apache.poi.xwpf.usermodel">TextSegement</a>&nbsp;segment)</pre>
<div class="block">get a Text</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>segment</code> - </dd></dl>
</li>
</ul>
<a name="removeRun(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeRun</h4>
<pre>public&nbsp;boolean&nbsp;removeRun(int&nbsp;pos)</pre>
<div class="block">removes a Run at the position pos in the paragraph</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the run was removed</dd></dl>
</li>
</ul>
<a name="getElementType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getElementType</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/BodyElementType.html" title="enum in org.apache.poi.xwpf.usermodel">BodyElementType</a>&nbsp;getElementType()</pre>
<div class="block">returns the type of the BodyElement Paragraph</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html#getElementType()">getElementType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html#getElementType()"><code>IBodyElement.getElementType()</code></a></dd></dl>
</li>
</ul>
<a name="getBody()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBody</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html" title="interface in org.apache.poi.xwpf.usermodel">IBody</a>&nbsp;getBody()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html#getBody()">getBody</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a></code></dd>
</dl>
</li>
</ul>
<a name="getPart()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPart</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a>&nbsp;getPart()</pre>
<div class="block">returns the part of the bodyElement</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html#getPart()">getPart</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a></code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html#getPart()">getPart</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IRunBody.html" title="interface in org.apache.poi.xwpf.usermodel">IRunBody</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html#getPart()"><code>IBody.getPart()</code></a></dd></dl>
</li>
</ul>
<a name="getPartType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartType</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/BodyType.html" title="enum in org.apache.poi.xwpf.usermodel">BodyType</a>&nbsp;getPartType()</pre>
<div class="block">returns the partType of the bodyPart which owns the bodyElement</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html#getPartType()">getPartType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/xwpf/usermodel/IBodyElement.html" title="interface in org.apache.poi.xwpf.usermodel">IBodyElement</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xwpf/usermodel/IBody.html#getPartType()"><code>IBody.getPartType()</code></a></dd></dl>
</li>
</ul>
<a name="addRun(org.apache.poi.xwpf.usermodel.XWPFRun)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRun</h4>
<pre>public&nbsp;void&nbsp;addRun(<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&nbsp;r)</pre>
<div class="block">adds a new Run to the Paragraph</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - </dd></dl>
</li>
</ul>
<a name="getRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRun</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFRun.html" title="class in org.apache.poi.xwpf.usermodel">XWPFRun</a>&nbsp;getRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR&nbsp;r)</pre>
<div class="block">return the XWPFRun-Element which owns the CTR run-Element</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - </dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XWPFParagraph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFNumbering.html" title="class in org.apache.poi.xwpf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xwpf/usermodel/XWPFPicture.html" title="class in org.apache.poi.xwpf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xwpf/usermodel/XWPFParagraph.html" target="_top">FRAMES</a></li>
<li><a href="XWPFParagraph.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
